package com.cz.zslu.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableLogic;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 店铺管理
 * </p>
 *
 * @author 森森
 * @since 2018-10-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("zsl_store")
public class ZslStore extends SuperEntity<ZslStore> {

    private static final long serialVersionUID = 1L;

    /**
     * 是否删除 0：有效，1 删除
     */
    private Integer state = 0;
    /**
     * 商铺名称
     */
    @ApiModelProperty("商铺名称")
    private String name;
    /**
     * 省id
     */
    @ApiModelProperty("省id")
    @TableField("province_id")
    private Long provinceId;
    /**
     * 市id
     */
    @ApiModelProperty("市id")
    @TableField("city_id")
    private Long cityId;
    /**
     * 区id
     */
    @ApiModelProperty("区id")
    @TableField("district_id")
    private Long districtId;
    /**
     * 详情地址
     */
    @ApiModelProperty("详情地址")
    private String address;
    /**
     * 联系电话
     */
    @ApiModelProperty("联系电话")
    private String phone;
    /**
     * 在线联系
     */
    @ApiModelProperty("在线联系")
    private String qq;


    @ApiModelProperty("用户类型")
    @TableField("user_type")
    private String userType;


    @ApiModelProperty("主营行业")
    @TableField("trade")
    private String trade;

    @ApiModelProperty("主营产品")
    @TableField("product")
    private String product;


    @ApiModelProperty("主营类目")
    @TableField("main_type")
    private String mainType;

    @ApiModelProperty("辅营类目")
    @TableField("assist_type")
    private String assistType;

    @ApiModelProperty("电子邮箱")
    @TableField("email")
    private String email;

    @ApiModelProperty("固定电话")
    @TableField("telephone")
    private String telephone;

    @ApiModelProperty("传真")
    @TableField("portraiture")
    private String portraiture;

    @ApiModelProperty("官网")
    @TableField("skypegmwcn")
    private String skypegmwcn;

    @ApiModelProperty("姓名")
    @TableField("full_name")
    private String fullName;

    @ApiModelProperty("是否显示号码（0：显示，1：隐藏）")
    @TableField("show_phone")
    private  Integer showPhone;

    @ApiModelProperty("是否显示号码（0：显示，1：隐藏）")
    @TableField("show_tree")
    private  Integer showTree;


    @ApiModelProperty("公司名称")
    @TableField(exist = false)
    private String entName;


    @ApiModelProperty("是否关注，0:未关注，1：已关注")
    @TableField(exist = false)
    private Integer focus;

    @ApiModelProperty("省市区中文")
    @TableField(exist = false)
    private String area;
}
